"""
健康检查相关的API路由
"""

from datetime import datetime
from flask import Blueprint, jsonify

# 创建蓝图
health_bp = Blueprint('health', __name__, url_prefix='/health')

@health_bp.route('/')
def health_check():
    """健康检查接口"""
    return jsonify({
        'status': 'ok',
        'timestamp': datetime.now().isoformat(),
        'version': '1.0.0'
    })